package com.hfy.model.ws.session;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class SessionOriginalMessage {
    // 操作类型
    /**
     * 0 新建一个会话
     * 1 删除一个会话
     * 2 我发送了一个消息 接收端需要新建一个会话
     */
    private Integer type;
    private String simpleMessage;
    private String sessionId;
    private String account;
    private String toAccount;
    private LocalDateTime recentTime;
    private Integer noticeNum;
}